package com.hiwan.system.pojo;
import java.io.Serializable;

import com.hiwan.system.common.persistence.BasePojo;
/**
 * Description:
 * DeptInfo.java Create on 2013-01-25 
 * @version 1.0
 * Company    :  HIWAN<br>
 * Copyright (c) 2012 Company,Inc. All Rights Reserved.
 * @author hlm
 */
public class DeptInfo extends BasePojo implements Serializable {
	private static final long serialVersionUID = 4256005368763922926L;
	/**
	 * 部门编号(主键)
	 */
	private String deptId;
	/**
	 * 部门名称
	 */
	private String deptName;
	/**
	 * 部门层级，直接隶属于机构的都为一级部门
	 */
	private String deptLevel;
	/**
	 * 状态(0：未启用；1：启用；2：停用）
	 */
	private String deptStatus;
	/**
	 * 所属机构
	 */
	private String belongOrg;
	/**
	 * 上级部门
	 */
	private String parentDept;
	/**
	 * 创建人
	 */
	private String createUser;
	/**
	 * 创建时间
	 */
	private String createTime;
	
	/**
	 * 创建人
	 */
	private String updateUser;
	/**
	 * 创建时间
	 */
	private String updateTime;
	/**
	 * 下属的(所有机构下的)子部门个数，0：表示木有下属部门，>0 表示有下属部门
	 */
	private int subDeptAll;
	/**
	 * 下属的(当前机构下的)子部门个数，0：表示木有下属部门，>0 表示有下属部门
	 */
	private int subDeptOrg;
	/**
	 * 当前机构包含的人员个数，0：表示部门下没有人员，>0 表示该部门下存在人员
	 */
	private int subDeptUser;
	/**
	 * 根部门（对应的省分行部门ID，省分行部门的Root即为自己）
	 */
	private String rootDept;

	/**
	 * 统计归属机构
	 */
	private String toOrgId;

	/**
	 * 分管行长
	 */
	private String presidentId;
	
	/**
	 * 此部门下的人员数
	 * @return
	 */
	private String deptUserNum;
	
	/**
	 * 用于修改部门id
	 * @return
	 */
	private String deptForId;
	
	
	public String getDeptForId() {
		return deptForId;
	}
	public void setDeptForId(String deptForId) {
		this.deptForId = deptForId;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public String getDeptLevel() {
		return deptLevel;
	}
	public void setDeptLevel(String deptLevel) {
		this.deptLevel = deptLevel;
	}
	public String getDeptStatus() {
		return deptStatus;
	}
	public void setDeptStatus(String deptStatus) {
		this.deptStatus = deptStatus;
	}
	public String getBelongOrg() {
		return belongOrg;
	}
	public void setBelongOrg(String belongOrg) {
		this.belongOrg = belongOrg;
	}
	public String getParentDept() {
		return parentDept;
	}
	public void setParentDept(String parentDept) {
		this.parentDept = parentDept;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	public int getSubDeptAll() {
		return subDeptAll;
	}
	public void setSubDeptAll(int subDeptAll) {
		this.subDeptAll = subDeptAll;
	}
	public int getSubDeptOrg() {
		return subDeptOrg;
	}
	public void setSubDeptOrg(int subDeptOrg) {
		this.subDeptOrg = subDeptOrg;
	}
	public String getRootDept() {
		return rootDept;
	}
	public void setRootDept(String rootDept) {
		this.rootDept = rootDept;
	}
	
	public int getSubDeptUser() {
		return subDeptUser;
	}
	public void setSubDeptUser(int subDeptUser) {
		this.subDeptUser = subDeptUser;
	}
	
	public String getToOrgId() {
		return toOrgId;
	}

	public void setToOrgId(String toOrgId) {
		this.toOrgId = toOrgId;
	}

	public String getPresidentId() {
		return presidentId;
	}

	public void setPresidentId(String presidentId) {
		this.presidentId = presidentId;
	}

	@Override
	public String toString() {
		return "DeptInfo [deptId=" + deptId + ", deptName=" + deptName
				+ ", deptLevel=" + deptLevel + ", deptStatus=" + deptStatus
				+ ", belongOrg=" + belongOrg + ", parentDept=" + parentDept
				+ ", createUser=" + createUser + ", createTime=" + createTime
				+ ", updateUser=" + updateUser + ", updateTime=" + updateTime
				+ ", subDeptAll=" + subDeptAll + ", subDeptOrg=" + subDeptOrg
				+ ", subDeptUser=" + subDeptUser + ", rootDept=" + rootDept
				+ ", toOrgId=" + toOrgId + ", presidentId=" + presidentId
				+ ",deptUserNum=" + deptUserNum
				+  "]";
	}
	public String getDeptUserNum() {
		return deptUserNum;
	}
	public void setDeptUserNum(String deptUserNum) {
		this.deptUserNum = deptUserNum;
	}
}